<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>2.margin纵向重叠问题</title>
  <style>
    p {
      font-size: 16px;
      line-height: 1;
      margin-top: 10px;
      margin-bottom: 15px;
    }
  </style>
</head>
<body>
  <!-- 2.margin纵向重叠问题 -->
  1.相邻元素的margin-top 和 margin-bottom 会重叠
  2.空内容标签也会重叠 类似于被忽略

  <!-- 问 AAA和BBB之间的间距？ 15px -->
  <p>AAA</p>
  <p></p>
  <p></p>
  <p></p>
  <p>BBB</p>






</body>
</html>